#!/usr/bin/env sh

set -e

cd $(dirname $0)

APP_ZIP_DOWNLOAD_URL=https://gitee.com/vovcx/app/repository/archive/main.zip \
go generate ./...
go build -ldflags '-s -w' -trimpath -o bin/kagura ./cmd/kagura/
echo > parser/app.zip
